home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Collections: Scope
/
Scope Disk #084 (199x)(Scope PD)(US)[WB].zip
/
Scope Disk #084 (199x)(Scope PD)(US)[WB].adf
/
Timer
/
Timer.doc
< prev
next >
Wrap
Text File
|
1989-06-16
|
2KB
|
60 lines
Timer - Copyright 1989, by John L. Williams
Timer may be FREELY distributed, as long as it is
without any charge and provided this documentation
accompanies it.
This program was written in:
Multi-Forth
(Copyright by Creative Solutions, Inc.)
Timer is a simple timing loop which temporarily replaces your
prompt with the number of seconds (down to 1/1000 sec.) required
to perform each command you enter. It does this by running your
command as a separate task, watching over that task and measuring
how long it took to complete.
Format:
Timer [?] (Timer ? - Provides somewhat useless info about Timer)
To start Timer, all you have to do is enter Timer (and Return).
In order to quit Timer, all you need to do is enter Timer (and
Return), again.
Notes:
Virtually all programs, I have tried, work just as they normally
do while Timer is running. The exceptions seem to be those
programs which cannot be run from a background (such as
DiskDoctor).
The Multi-Forth implementation which I am using (Ver 1.3), does
not allow the use of one of the improtant new AmigaDOS 1.3
features:
Alias seems to have disappeared, but it really hasn't. The
reason for this is that Alias is task specific and therefore
is totally un-initialized when the Timer task runs.
(Therefore, if you use Alias as a short-cut to some of your
commands, those aliai (?) will not work! - use the original
and complete paths!)
Also, because Timer runs your commands as separate tasks, ^C
and ^D do not function the way you may be used to having
them work. In order to interrupt, or cancel, a command that
is being timed, you must use the Break command from another
shell.
Enjoy!!!
John L. Williams
11970 Montana Ave. #112
Los Angeles, CA 90049
(213) 820-8408